package com.hibase.core.interfacetask.entity.vo;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 接口任务表
 * </p>
 *
 * @author zhou_jw
 * @since 2020-08-21
 */
@Data
@HibaseValid
@ApiModel(value="MdsInterfaceTaskListVO对象", description="接口任务表列表展示VO")
public class MdsInterfaceTaskListVO {

    @ApiModelProperty(value = "发送方")
    private String senderSys;

    @ApiModelProperty(value = "接收方")
    private String receiverSys;

    @ApiModelProperty(value = "业务类型")
    private String businessType;

    @ApiModelProperty(value = "接口业务类型code")
    private String businessTypeCode;

    @ApiModelProperty(value = "业务单Id")
    private String businessId;

    @ApiModelProperty(value = "业务单号")
    private String businessCode;

    @ApiModelProperty(value = "请求报文")
    private String requestData;

    @ApiModelProperty(value = "响应报文")
    private String responseData;

    @ApiModelProperty(value = "处理状态 ready：准备 success：成功 fail：失败 notload : 未装载 loadfail : 装载失败")
    private String dealStatus;

    @ApiModelProperty(value = "重试次数")
    private Integer retryCount;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @ApiModelProperty(value = "最新执行时间")
    private Date execTime;

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人账号")
    private String updateBy;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否已删除（0 正常，1 已删除）")
    private Boolean beDeleted;

    @ApiModelProperty(value = "备注")
    private String remarks;

}
